import * as actionTypes from '../actions/ActionTypes';

import { handleActions } from 'redux-actions';

//查询公司信息
const defData = {
    xzCompany: {},
    isloading: true//是否读取ing1
}
export const Sel_CompanyMobReducer = handleActions({
    [actionTypes.SEL_COMPANY_MOB]: {
        next(state, action) {
            return { ret: true, data: action.payload };
        },
        throw(state, action) {
            return { ret: false, statusText: "报错", data: defData };
        }
    }
}, { ret: true, statusText: '默认', data: defData });